<div class="danhsachbenh">
<h3><?php echo $chuyenkhoa[0]->chuyenkhoa; ?></h3>
<?php
    foreach($danhsachbenh as $benh){
        echo '<a href="'.base_url().'mod_chuyenkhoa/mod_chuyenkhoa/savesession/'.$benh->id.'">'.$benh->tenbenh.'</a></br/>';
    }
?>
</div>